export default {
    namespaced: true,//开启命名空间
    // 局部状态
    state: {
        breadcrumb: [],
        spinShow: false,
    },
    // 局部读取
    getters: {
        breadcrumb: state => state.breadcrumb,
        spinShow: state => state.spinShow,
    },
    // 局部变化
    mutations: {
        setBreadcrumb(state, payload) {
            state.breadcrumb = payload;
        },
        setSpinShow(state, payload) {
            state.spinShow = payload;
        },
    },
    // 局部动作
    actions: {}
};
